﻿#include "pch.h"
#include "SvgLine.h"

void CSvgLine::initialObject(void)
{
	strokeWidth = 0;
}

CSvgLine::CSvgLine(void)
{
	initialObject();
}


CSvgLine::CSvgLine(const TCHAR* aObjSvgType) :CSvgObject()
{
	initialObject();
	objectSvgType = CString(aObjSvgType);
}

CSvgLine::~CSvgLine(void)
{
}

CString CSvgLine::toString(void) {
	//CString mstr = "<line x1="100" y1="100" x2="300" y2=\"300\" stroke-width=\"10\" stroke="#000000\"/>";
	CString mstr;
	mstr.Format(_T("<line x1=\"%f\"/>"), this->startX);
	return mstr;
}

